package com.aceitunaproject.server.initializer;

import java.util.HashMap;

import java.util.Map;


import com.aceitunaproject.server.materialgoods.MaterialGood;
import com.aceitunaproject.server.materialgoods.MaterialGoodLoader;


/**
 * 
 * Small MaterialGoods Loader for testing purposes
 * 
 * @author Federico Bergstein
 * 
 */
public class TestMaterialGoodsLoader implements MaterialGoodLoader {

	

	@Override
	public Map<String, MaterialGood> getMaterialGoods() {
		
		Map<String, MaterialGood> map = new HashMap<String, MaterialGood>();
		MaterialGood installationBuildingMaterial = new MaterialGood();
		installationBuildingMaterial.setDefaultName("InstallationBuildingMaterial");
		map.put("InstallationBuildingMaterial", installationBuildingMaterial);
		MaterialGood food = new MaterialGood();
		food.setDefaultName("Food");
		map.put("Food", food);
		return map;
	}

}

